Configure Palette IDCS Security

Edit <OIRW_HOME>/palette/conf/idcs-security.yaml.

Keep a backup of the existing file. Replace placeholders only, preserve YAML indentation, and source secrets from the approved secret-management mechanism.

Shared Properties and SCIM Synchronization

security:
	config:
		require-encryption: <true-or-approved-value>
	properties:
		idcs-uri: "<IDCS_URI>"
		idcs-client-id: "<OIDC_CLIENT_ID_REFERENCE>"
		idcs-client-secret: "<OIDC_CLIENT_SECRET_REFERENCE>"
		idcs-cookie-encryption-password: "<COOKIE_SECRET_REFERENCE>"
		idcs-user-sync:
	enabled: true
		client-id: "<SCIM_CLIENT_ID_REFERENCE>"
		client-secret: "<SCIM_CLIENT_SECRET_REFERENCE>"
		token-uri: "${security.properties.idcs-uri}/oauth2/v1/token"
		users-uri: "${security.properties.idcs-uri}/admin/v1/Users"
		groups-uri: "${security.properties.idcs-uri}/admin/v1/Groups"
		scope: "urn:opc:idm:__myscopes__"
		page-size: 100
		schedule: "0 30 0 * * ?"
		import-temporary-password: <DefaultPassword>
	group-role-mappings:
		- idcs-group: "OIRW_CONFIGURERS"
		oirw-role: "configurer"
		- idcs-group: "OIRW_ADMINISTRATORS"
		oirw-role: "admin"
		- idcs-group: "OIRW_BUILD_MANAGER"
		oirw-role: "build_manager"

The schedule 0 30 0 * * ? runs once daily at 12:30 AM. For temporary testing only, 0/30 * * * * ? runs every 30 seconds. Restore the production schedule after testing.

The cookie-encryption secret must be stable. Every Palette and RM instance sharing login cookies must use the same protected value.

Browser Login Provider

providers:
	- abac:
		# Adds the ABAC provider; no additional configuration is required.
	- oidc:
		cookie-compression-enabled: true
		cookie-compression-id-enabled: true
		oidc-metadata-well-known: true
		client-id: "${security.properties.idcs-client-id}"
		client-secret: "${security.properties.idcs-client-secret}"
		token-endpoint-auth: "CLIENT_SECRET_POST"
		identity-uri: "${security.properties.idcs-uri}"
		redirect: true
		redirect-uri: "/oidc/redirect"
		base-scopes: "openid <APPROVED_RESOURCE_SCOPES>"
		frontend-uri: "<PALETTE_PUBLIC_URL>"
		logout-enabled: true
		post-logout-uri: "<UI_URL>"
		cookie-use: true
		cookie-name: "PALETTE_OIDC"
		cookie-name-id-token: "PALETTE_OIDC_ID"
		cookie-name-refresh-token: "PALETTE_OIDC_REFRESH"
		cookie-name-tenant: "PALETTE_OIDC_TENANT"
		cookie-name-state: "PALETTE_IDCS_STATE"
		cookie-encryption-password: "${security.properties.idcs-cookie-encryption-password}"
		cookie-path: "/"
		cookie-domain: "<PUBLIC_COOKIE_DOMAIN>"
		cookie-secure: true
		cookie-same-site: "LAX"
		header-use: true
		audience: "<EXPECTED_ACCESS_TOKEN_AUDIENCE>"

Checkpoint: Palette YAML parses successfully, redirect is true, and production cookies are secure.